WA-NEW-004: Fix metrics week calculations across DST#648
WA-NEW-004: Fix metrics week calculations across DST#648kitcommerce wants to merge 2 commits intonextfrom
Conversation
Dispatcher Build Gate Summary (local)
Note: test output still prints BSON Symbol deprecation warning (expected to be addressed by WA-NEW-010 / PR #635). |
Architecture ReviewVerdict: PASS_WITH_NOTES (LOW) Contained metrics-layer change; DST-safe week math via date-based calculations is the right direction. Note
|
Test Quality ReviewVerdict: CHANGES_REQUIRED (MEDIUM) The DST regression coverage added in Findings
Once those are block-form, the suite should be much more robust against ordering/flakiness. |
Fix applied for test-quality feedbackPushed fix to branch
Commit: c68b08d |
Test Quality Review (re-run)Verdict: PASS Re-check after commit |
Architecture Review (re-run)Verdict: PASS Re-check after |
Performance ReviewVerdict: PASS Performance risk is low. Date-based week boundaries keep the query as an indexed range scan on |
✅ Review summaryRe-review after fix commit
Labeled |
Performance ReviewVerdict: PASS Performance risk is low. Switching from second-based week math to date-based boundaries avoids DST drift and keeps DB queries as an indexed range scan on |
Architecture Review (re-run)Verdict: PASS Re-check after fix commit |
✅ Re-review status after c68b08d
(Waiting on test-quality label if not yet updated.) Labeled |
✅ Re-review status after c68b08dAll requested follow-ups are satisfied and reviews are green:
Labeled |
Closes #644.\n\nExtracted from stacked PRs #630/#631 to make merge order linear.